package cn.bdqn.utils.result;

import java.util.List;


/**
 * 分页封装类
 * @author dkj
 */
public class Page<T> {

	/**
	 * // 真正要查看的数据
	 */
	private List<T> menuList;

	/**
	 * // 总记录数【查询数据库】
	 */
	private Integer totalRecord;

	/**
	 * // 每页显示的条数
	 */
	private Integer pageSize = 5;

	/**
	 * // 总页数
	 */
	private Integer totalPage;

	/**
	 * // 当前页
	 */
	private Integer currentPage;


	/**
	 * // limit子句的第一个参数的值
	 */
	private Integer limitStart;






	public List<T> getMenuList() {
		return menuList;
	}

	public void setMenuList(List<T> menuList) {
		this.menuList = menuList;
	}

	public Integer getTotalRecord() {
		return totalRecord;
	}

	public void setTotalRecord(Integer totalRecord) {
		this.totalRecord = totalRecord;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getLimitStart() {
		return limitStart;
	}

	public void setLimitStart(Integer limitStart) {
		this.limitStart = limitStart;
	}

}
